package cn.tedu.entity;     //pojo , vo , po(普通的java对象) 不同命名习惯

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    private String id;          //202111150008iuj465u7j545u 订单id
    private User user;          //订单所属用户
    private List<Item> items;   //订单中的商品列表
}
